Intelligent security analysis and enforcement for data transfer

ABSTRACT

An approach is provided for managing a message in a transfer from a computer. A level of sensitivity of data in a payload of the message is determined. A level of security protecting the transfer of the data is determined. Based on the level of sensitivity, the level of security is determined to satisfy or not satisfy a threshold level. If the level of security satisfies the threshold level, the computer is connected and the message is transferred using the level of security. If the level of security does not satisfy the threshold level, then based on the levels of sensitivity and security, an action to change the level of security is determined so that the changed level of security satisfies the threshold level. The action is executed to connect the computer and transfer the message using the changed level of security.

TECHNICAL FIELD

The present invention relates generally to protecting sensitive data, and more specifically to protecting security of data sent via a wireless network.

BACKGROUND

Many users of mobile devices, such as a smartphones, computer tablets, and laptop computers, connect the devices to wireless networks to send and receive data. These wireless networks range in security levels from open, unsecured networks to secured networks with levels of encryption and security methods that vary in complexity. Sending data across a wireless network carries an inherent risk that the data in transit could be captured and viewed by unintended audiences. The severity of the aforementioned risk depends on at least two factors: (1) the sensitivity or confidentiality of the data and (2) the presence and effectiveness of (or the absence of) a security method and encryption on the data as it traverses the wireless network. A user is often unaware of the type of data being transferred and the level of security applied to a particular transfer, especially if the transfer is performed by a background process or an application that the user did not explicitly initiate. If any of the data being transferred is sensitive or confidential to the user and the network on which it is being transferred does not adequately protect the data, then the security and privacy of the user can be compromised.

Known network desktop firewalls are limited to performing a simple permit or deny of traffic based on general characteristics such as application, port and type of network to which the user is connected. For example, if the network desktop firewall detects that the user is on the user's company's intranet, then the firewall will allow certain applications such as file sharing. If the network desktop firewall detects that the user is on another network, then it will disable file sharing.

U.S. Pat. No. 7,877,506 to Curtis et al., issued Jan. 25, 2011, teaches automatic detection and encryption of sensitive data, such as a password in the payload of a message packet, which is performed by a gateway device, downstream of a sender of the message packet. If the message packet is not encrypted, a gateway device determines if the message packet is configured to determine if the data is sensitive, and if so, the gateway device determines the standard that governs the format of the message packet. Based on the standard, the gateway device determines the location of the data in the payload of the message packet. Subsequently, the gateway device determines whether the data is sensitive based on a match of the signature of the data within the payload to an entry in a table that associates data signatures with corresponding rules. If the gateway device is able to match the signature of the data to an entry in the table and the data is sensitive, the gateway device determines from its configuration file an Internet Protocol (IP) address of a network containing an encryption device and forwards the message packet to a virtual private network where the encryption device encrypts the message packet. The encryption device forwards the encrypted message packet to a router which routes the encrypted message packet to its destination through a non-secure network.

BRIEF SUMMARY

A first embodiment of the present invention is a method, computer system and computer program product for managing a message being transferred from a computer. The computer determines a level of sensitivity of data in a payload of the message and identifies an application initiating a transfer of the data in the message. The computer determines a level of security protecting the transfer of the data. The security is provided by network and application layers. Based in part on the level of sensitivity of the data, the computer determines whether the level of security satisfies a threshold level. If the level of security satisfies the threshold level, the computer connects and transfers the message using the level of security. If the level of security does not satisfy the threshold level, based at least in part on the level of sensitivity of the data and the level of security, the computer determines an action to change the level of security so that the changed level of security satisfies the threshold level, and in response, executes the action to connect the computer and transfer the message using the changed level of security.

A second embodiment of the present invention is a method, computer system and computer program product for managing a message being transferred from a mobile device. The mobile device determines a level of sensitivity of data in a payload of the message prior to the mobile device sending the message to a wireless access point en route to a destination device. If the data in the payload has a first level of sensitivity, the mobile device connects and sends the message to a first secure wireless access point having encryption at a threshold strength at a network layer and utilizes a protocol having encryption at an application layer. If the data in the payload has a second level of sensitivity lower than the first level of sensitivity, the mobile device (a) connects and sends the message to the first secure wireless access point having encryption at the threshold strength at the network layer without utilizing the protocol having encryption at the application layer or (b) connects and sends the message to a second, less secure wireless access point having encryption at a lesser strength and utilizes the protocol having encryption at the application layer. If the data in the payload has a third level of sensitivity lower than the second level of sensitivity, the mobile device connects and sends the message to the second wireless access point without utilizing the protocol.

Embodiments of the present invention provide an intelligent analysis of security needs for data transfer to or from a mobile device based on a range of dynamic characteristics such as data content. Based on the analysis of security needs, a particular strength of network layer encryption and/or application layer encryption is employed for the data transfer.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a system for managing a message being transferred from a computer, in accordance with embodiments of the present invention.

FIG. 2 is a flowchart of a first embodiment of a data transfer security enforcement program executed in a computer included in the system of FIG. 1, in accordance with embodiments of the present invention.

FIG. 3 is a flowchart of a second embodiment of a data transfer security enforcement program executed in a mobile device included in the system of FIG. 1, in accordance with embodiments of the present invention.

FIG. 4 is a block diagram of components of a computer included in the system of FIG. 1 for managing a message being transferred from the computer, in accordance with embodiments of the present invention.

DETAILED DESCRIPTION

Overview

Embodiments of the present invention analyze and enforce a secure transfer of a message from a mobile device or other computer via a network to a destination device by determining the sensitivity of data in the message being transferred, detecting the level of security (or the absence of security) that protects the data in its transfer, and based on the sensitivity, level of security, and optionally on other criteria, determining an action to ensure the secure transfer of the message. The action may include employing a particular strength of encryption at the network layer and/or encryption at the application layer.

System for Managing Data Transferred from a Mobile Device

FIG. 1 is a block diagram of a system 100 for managing a message being transferred from a computer, in accordance with embodiments of the present invention. System 100 includes a computer 102, which executes a software-based data transfer security enforcement program 104 and a software application 106. In one embodiment, computer 102 is a mobile device, such as a smartphone, tablet computer, or laptop computer. Computer 102 is coupled to a data store 108, which includes rules 110. Computer 102 receives rules 110 from entries by a user of computer 102 or from an imported set of rules that is generated by a person or organization other than the user of computer 102. Computer 102 executes application 106 to transfer a message (not shown) whose payload includes data to a computer 112 acting as a destination device (i.e., destination of the message being transferred), and/or receive a message (not shown) whose payload includes data from computer 112 acting as a source device (i.e., source of the message being received). Application 106 transfers the message to computer 112 or receives a message from computer 112 via a wireless computer network 114. Before transferring the message, computer 102 (1) encrypts the message utilizing a protocol having encryption at an application layer (i.e., at a layer provided by application 106) or (2) utilizes another protocol to transfer the message that does not encrypt the message utilizing the aforementioned protocol.

Before the message is transferred over network 114, application 106 transfers the message to a first wireless access point 116 or a second wireless access point 118. A wireless access point is a device, such as a router, that provides access to a wireless network. First wireless access point 116 provides access to network 114 and encrypts a message received at wireless access point 116 using a first encryption technique at a network layer, where the first encryption technique has a level of strength at or above a predetermined threshold strength. Computer 102 receives the predetermined threshold strength from a user entry, a default threshold value, or a threshold value imported from an external source, and stores the threshold strength in data store 108.

Second wireless access point 118 provides access to network 114. Second wireless access point 118 is less secure than first wireless access point 116 because second wireless access point 118 encrypts a message received at second wireless access point 118 using a second encryption technique at a network layer, where the second encryption technique has a strength that is less than the strength of the first encryption technique used by first wireless access point 116. In one embodiment, the second network layer encryption technique used by second wireless access point 118 has a strength that is less than the aforementioned threshold strength.

Data transfer security enforcement program 104 determines a sensitivity of the data in the message transferred by application 106 to computer 112, and retrieves a rule from rules 110 that associates at least the sensitivity and current settings for application layer and network layer encryption of messages being transferred from application 106 with one or more actions that ensure the security of the message satisfies a predetermined threshold level of security. The rule may also associate source and/or destination addresses of the message and the application that is sending or receiving the data with the aforementioned one or more actions. Based on the retrieved rule, data transfer security enforcement program 104 determines whether application 106 encrypts the data in the message using the protocol having encryption at the application layer, and determines whether application utilizes (1) wireless access point 116, which has encryption at or above the threshold strength, or (2) the less secure wireless access point 118 to encrypt the data in the message.

Internal and external components of computer 102 are further described below relative to FIG. 4. The functionality of components of system 100 is further described below in the discussion relative to FIG. 2, FIG. 3, and FIG. 4.

FIG. 2 is a flowchart of a first embodiment of data transfer security enforcement program 104 (see FIG. 1) executed in computer 102 (see FIG. 1) included in system 100 (see FIG. 1), in accordance with embodiments of the present invention. In step 202, data transfer security enforcement program 104 (see FIG. 1) determines a level of sensitivity of data in a payload of a message being transferred to computer 112 (see FIG. 1) via network 114 (see FIG. 1). In one embodiment, data transfer security enforcement program 104 (see FIG. 1) determines the level of sensitivity of the data based on the content, format or type of the data. For example, data transfer security enforcement program 104 (see FIG. 1) detects a password in plain text in the content of the data, and based on the detection of the password, determines that the data has a high level of sensitivity.

In step 204, data transfer security enforcement program 104 (see FIG. 1) identifies application 106 (see FIG. 1) as the application that initiates the transfer of message to computer 102 (see FIG. 1)

After step 204 and prior to step 206, data transfer security enforcement program 104 (see FIG. 1) determines whether computer 102 (see FIG. 1) is set to utilize wireless access point 116 or wireless access point 118 to transfer data (i.e., determines the strength of the network layer encryption that is currently set for computer 102 (see FIG. 1) and whether the strength satisfies a predetermined threshold strength) and determines whether application 106 is currently set to transfer data utilizing a protocol having encryption at the application layer. In step 206, based on the determinations of whether computer 102 (see FIG. 1) is set to utilize wireless access point 116 or wireless access point 118 and whether application 106 (see FIG. 1) is set to transfer data utilizing the protocol having encryption at the application layer, data transfer security enforcement program 104 (see FIG. 1) determines a level of security that is currently protecting any message being transferred by application 106 (see FIG. 1).

Prior to step 208, computer 102 (see FIG. 1) receives rules 110 (see FIG. 1) and stores rules 110 (see FIG. 1) in data store 108 (see FIG. 1). After step 206 and prior to step 208, data transfer security enforcement program 104 (see FIG. 1) attempts to retrieve one or more rules from data store 108 (see FIG. 1) which include the sensitivity determined in step 202 and the current level of security determined in step 206 and based on the attempted retrieval of rule(s), determines whether the current level of security is sufficient. The current level of security is sufficient if: (1) data transfer security enforcement program 104 (see FIG. 1) retrieves rule(s) which indicate that no action is necessary for the sensitivity determined in step 202 and the current level of security determined in step 206 or (2) data transfer security enforcement program 104 (see FIG. 1) finds that none of rules 110 (see FIG. 1) in data store 108 (see FIG. 1) include conditions that match the sensitivity determined in step 202 and the current level of security determined in step 206. The current level of security is not sufficient if data transfer security enforcement program 104 (see FIG. 1) retrieves rule(s) that indicate action(s) to change the current level of security, where the rule(s) associate the action(s) with the sensitivity determined in step 202 and the current level of security determined in step 206.

In step 208, based on the attempt to retrieve rule(s) from data store 108 (see FIG. 1), data transfer security enforcement program 104 (see FIG. 1) determines whether the current level of security is sufficient. If data transfer security enforcement program 104 (see FIG. 1) determines in step 208 that the current level of security is not sufficient, then the No branch of step 208 is taken and step 210 is performed. Taking the No branch of step 208 means that data transfer security enforcement program 104 (see FIG. 1) has retrieved rule(s) from data store 108 (see FIG. 1) that indicate action(s) to change the current level of security.

In step 210, based on the retrieved rule(s), data transfer security enforcement program 104 (see FIG. 1) determines the action(s) included in the rule(s), where the action(s), when performed, change the current level of security for the transfer of the data in the message to a sufficient level of security. Action(s) determined in step 210 include one or more of: (1) finding a network that supports a level of security that satisfies the threshold level of security and connecting computer 102 (see FIG. 1) to the found network; (2) switching application 106 (see FIG. 1) from using a protocol that does not have encryption to a more secure protocol that has encryption at the application layer; (3) pausing data traffic being transferred from application 106 (see FIG. 1) until a more secure method of transferring the data is available (i.e., a protocol that has encryption at the application layer is available and/or a wireless access point, such as wireless access point 116 (see FIG. 1), which has encryption at a predetermined threshold strength at the network layer is available); (4) shutting down application 106 (see FIG. 1) and subsequently starting application 106 (see FIG. 1) again in response to a more secure method of transferring the data becoming available; (5) utilizing a third party software tool to provide a more secure method of transferring the data; and (6) shutting down application 106 (see FIG. 1) without restarting application 106 (see FIG. 1).

In one embodiment, data transfer security enforcement program 104 (see FIG. 1) determines in step 210 multiple actions and respective, multiple conditions in a rule, where data transfer security enforcement program 104 checks the conditions in a sequence determined by the rule, and selects an action from the multiple actions that corresponds to the first condition that data transfer security enforcement program 104 determines to be true. For example, using the list of (1) to (6) presented in the preceding paragraph, data transfer security enforcement program 104 (see FIG. 1) checks if (1) can be performed and if (1) can be performed, data transfer security enforcement program 104 (see FIG. 1) performs (1). If (1) cannot be performed, then data transfer security enforcement program 104 (see FIG. 1) checks if (2) can be performed, and if (2) can be performed, then data transfer security enforcement program 104 (see FIG. 1) performs (2). If (1) and (2) cannot be performed, then data transfer security enforcement program 104 (see FIG. 1) either performs (3) or (4) until (1) or (2) becomes possible to perform, or performs (5) if possible, or performs (6).

In one embodiment, data transfer security enforcement program 104 determines in step 210 determines the action(s) based on a rule that specifies all or any combination of the following criteria: (1) an IP address or other address of computer 102 (see FIG. 1) which is a source of the message; (2) an IP address or other address of computer 112 (see FIG. 1), which is a destination of the message; (3) the particular application that initiates the transfer of the message from computer 102 (see FIG. 1) to computer 112 (see FIG. 1) via network 114 (see FIG. 1); (4) content of the data included in the payload of the message (e.g., content is a password or a credit card number); (5) a first method of encryption at a network layer that is applied by a wireless access point that provides access to network 114 (see FIG. 1) or a condition in which no method of encryption is applied at the network layer; (6) a second method of encryption that is applied at an application layer by a protocol utilized by application 106 (see FIG. 1) in a transfer of data from computer 102 (see FIG. 1) to computer 112 (see FIG. 1) via network 114 (see FIG. 1).

As one example relative to (1) and (2) listed above, data transfer security enforcement program 104 (see FIG. 1) in step 210 determines that the address of computer 102 (see FIG. 1) and the address of computer 112 (see FIG. 1) are both within a home network of the user of computer 102 (see FIG. 1) because the user is transferring data from the user's smartphone to the user's home computer, and based on the source and destination addresses being within the home network, data transfer security enforcement program 104 (see FIG. 1) retrieves a rule from data store 108 (see FIG. 1) that specifies an action of employing a minimal level of security (or no security) for the transfer of the data.

As one example relative to (3) listed above, data transfer security enforcement program 104 (see FIG. 1) in step 210 determines that application 106 (see FIG. 1) that initiated the transfer of the data is Application XYZ, which is known to access confidential information, and based on application 106 (see FIG. 1) being Application XYZ, data transfer security enforcement program 104 (see FIG. 1) retrieves a rule from data store 108 (see FIG. 1) that specifies an action of sending the data to wireless access point 116 (see FIG. 1) because wireless access point 116 (see FIG. 1) has encryption at the threshold strength at the network layer.

The first method of encryption at the network layer in (5) listed above may include, for example, (a) no encryption (e.g., the data is transferred over an open WiFi network); (b) less secure encrypted method such as a 64-bit key Wired Equivalent Privacy (WEP) security control; (c) more secure encrypted method such as a WiFi Protected Access II (WPA2) protocol; and (d) using a cellular network for the transfer of the data instead of transferring the data over a WiFi network.

The second method of encryption at the application layer in (6) listed above may include, for example, employing a Hypertext Transfer Protocol Secure (https) protocol instead of Hypertext Transfer Protocol (http) or employing a Secure File Transfer Protocol (sftp) instead of a File Transfer Protocol (ftp).

In step 212, data transfer security enforcement program 104 (see FIG. 1) executes the action(s) determined in step 210 to connect computer 102 (see FIG. 1) to network 114 (see FIG. 1) and transfer the message over network 114 (see FIG. 1) to computer 112 (see FIG. 1), so that the message is transferred using a sufficient level of security. Alternatively, application 106 (see FIG. 1) executes the action(s) as described above.

Following step 212, the process of FIG. 2 ends at step 214.

Returning to step 208, if data transfer security enforcement program 104 (see FIG. 1) determines in step 208 that the current level of security is sufficient, then the Yes branch of step 208 is taken and step 216 is performed.

In step 216, data transfer security enforcement program 104 (see FIG. 1) transfers the message to computer 112 (see FIG. 1) using the current level of security, without any change to the current level of security. Following step 216, the process of FIG. 2 ends at step 214.

In one embodiment, data transfer security enforcement program 104 (see FIG. 1) scans the content of the data after application 106 (see FIG. 1) initiates the transfer of the data to computer 112 (see FIG. 1), but before the data has started to pass through network 114 (see FIG. 1). Based on the scanned content, data transfer security enforcement program 104 (see FIG. 1) identifies the data as being a particular type of data included in a predetermined list of types of data (e.g., identifies the data as being a password). In this embodiment, step 202 includes data transfer security enforcement program 104 (see FIG. 1) determining the level of sensitivity of the data based on the identified type of data and step 210 includes data transfer security enforcement program 104 (see FIG. 1) determining the action based on a rule retrieved from data store 108 (see FIG. 1) that associates the action with the identified type of data.

In an alternate embodiment, the No branch of step 208 is followed by a step in which data transfer security enforcement program 104 (see FIG. 1) notifies the user of the need for one or more actions to provide a more secure transfer for the data. In another alternate embodiment, step 210 is followed by a step in which data transfer security enforcement program 104 (see FIG. 1) prompts the user to send an acceptance or rejection of the action(s) determined in step 210. In response to a receipt of the acceptance of the action(s), data transfer security enforcement program 104 (see FIG. 1) performs step 212. In response to a receipt of the rejection of the action(s), data transfer security enforcement program 104 (see FIG. 1) does not perform step 212, but instead continues the process of FIG. 2 at step 216.

FIG. 3 is a flowchart of a second embodiment of data transfer security enforcement program 104 (see FIG. 1) executed in mobile device 102 (see FIG. 1) included in system 100 (see FIG. 1), in accordance with embodiments of the present invention. In step 302, data transfer security enforcement program 104 (see FIG. 1) receives a message generated by a user of mobile device 102 (see FIG. 1).

In step 304, data transfer security enforcement program 104 (see FIG. 1) determines a sensitivity of data in a payload of the message received in step 302. In one embodiment, data transfer security enforcement program 104 (see FIG. 1) determines the level of sensitivity of the data based on the content or format of the data. For example, data transfer security enforcement program 104 (see FIG. 1) detects a password in plain text in the content of the data, and based on the detection of the password, determines that the data has a high level of sensitivity.

In step 306, data transfer security enforcement program 104 (see FIG. 1) determines whether the level of sensitivity determined in step 304 is a first level of sensitivity (i.e., a high level of sensitivity of data). If data transfer security enforcement program 104 (see FIG. 1) determines in step 306 that the level of sensitivity of the data is the first level of sensitivity, then the Yes branch of step 306 is taken and step 308 is performed.

In step 308, data transfer security enforcement program 104 (see FIG. 1) connects mobile device 102 (see FIG. 1) and sends the message to first wireless access point 116 (see FIG. 1) which applies encryption to the message at the threshold strength at the network layer. The sending of the message by data transfer security enforcement program 104 (see FIG. 1) in step 308 utilizes a protocol that applies encryption to the message at the application layer. Following step 308, the process of FIG. 3 ends at step 310.

Returning to step 306, if data transfer security enforcement program 104 (see FIG. 1) determines that the level of sensitivity determined in step 304 is not the first level of sensitivity, then the No branch of step 306 is taken and step 312 is performed.

In step 312, data transfer security enforcement program 104 (see FIG. 1) determines whether the level of sensitivity determined in step 304 is the second level of sensitivity (i.e., a medium level of sensitivity of data), where the second level of sensitivity is lower than the first level of sensitivity. If data transfer security enforcement program 104 (see FIG. 1) determines the level of sensitivity is the second level of sensitivity, then the Yes branch of step 312 is taken and step 314 is performed.

In step 314, data transfer security enforcement program 104 (see FIG. 1) either (1) connects mobile device 102 (see FIG. 1) and sends the message to first wireless access point 116 (see FIG. 1) which applies encryption at the threshold strength to the message at the network layer, where the sending of the message by data transfer security enforcement program 104 (see FIG. 1) does not utilize the protocol that applies encryption to the message at the application layer, or (2) connects mobile device 102 (see FIG. 1) and sends the message to second wireless access point 118 (see FIG. 1), which applies encryption at a strength less than the strength of the encryption applied by first wireless access point 116 (see FIG. 1), where the sending of the message by data transfer security enforcement program 104 (see FIG. 1) utilizes the protocol that applies encryption to the message at the application layer. Following step 314, the process of FIG. 3 ends at step 310.

In another embodiment, step 314 includes data transfer security enforcement program 104 (see FIG. 1) performing only connecting mobile device 102 (see FIG. 1) and sending the message to first wireless access point 116 (see FIG. 1), where the sending of the message does not utilize the protocol that applies encryption to the message at the application layer (i.e., performs only (1) listed above). In still another embodiment, step 314 includes data transfer security enforcement program 104 (see FIG. 1) performing only the steps of connecting mobile device 102 (see FIG. 1) and sending the message to second wireless access point 118 (see FIG. 1), where the sending of the message utilizes the protocol that applies encryption to the message at the application layer.

Returning to step 312, if data transfer security enforcement program 104 (see FIG. 1) determines that the level of sensitivity determined in step 304 is not the second level of sensitivity, then the No branch of step 312 is taken and step 316 is performed.

In step 316, data transfer security enforcement program 104 (see FIG. 1) determines whether the level of sensitivity determined in step 304 is the third level of sensitivity (i.e., a low level of sensitivity of data), where the third level of sensitivity is lower than the second level of sensitivity. If data transfer security enforcement program 104 (see FIG. 1) determines in step 316 that the level of sensitivity is the third level of sensitivity, then the Yes branch of step 316 is taken and step 318 is performed.

In step 318, data transfer security enforcement program 104 (see FIG. 1) connects mobile device 102 (see FIG. 1) and sends the message to second wireless access point 118 (see FIG. 1) which applies encryption at the network layer at a strength lower than the strength of the encryption applied by first wireless access point 116 (see FIG. 1). In one embodiment, the strength of the encryption applied by second wireless access point 118 (see FIG. 1) is less than the aforementioned threshold strength. The sending of the message by data transfer security enforcement program 104 (see FIG. 1) in step 318 does not utilize the protocol that applies encryption to the message at the application layer. Following step 318, the process of FIG. 3 ends at step 310.

Example

As one example, data transfer security enforcement program 104 (see FIG. 1) detects a password in plain text in a message whose transfer from computer 102 (see FIG. 1) to computer 112 (see FIG. 1) has been initiated by application 106 (see FIG. 1). Data transfer security enforcement program 104 (see FIG. 1) determines that the current level of security for transfer of messages from application 106 (see FIG. 1) running on computer 102 (see FIG. 1) utilizes a protocol that is not secure at the application layer, and utilizes a network that is not secure. Based on the detected password, data transfer security enforcement program 104 (see FIG. 1) determines that the data in the message has a first level of sensitivity. Data transfer security enforcement program 104 (see FIG. 1) finds a rule included in rules 110 that associates the first level of sensitivity and the current level of security with a sequence of actions to attempt: (1) switch the current protocol to an encrypted protocol that has encryption at the application layer if the encrypted protocol is available; (2) if the encrypted protocol in (1) is not available, then switch the network to a secure network that has encryption at the threshold strength; (3) if the secure network in (2) is not available, then use a third party application that transfers data securely and that computer 112 (see FIG. 1) accepts; and (4) if using the third party application in (3) is not possible, then data transfer security enforcement program 104 (see FIG. 1) shuts down application 106 (see FIG. 1) and monitors the state of computer 102 (see FIG. 1) periodically and start application 106 (see FIG. 1) again and apply the action in (1), (2) or (3) listed above if the respective condition mentioned in (1), (2) or (3) is true.

Computer System

FIG. 4 is a block diagram of components of computer 102 (see FIG. 1) included in system 100 (see FIG. 1) for managing a message being transferred from computer 102 (see FIG. 1), in accordance with embodiments of the present invention. Computer 102 (see FIG. 1) includes sets of internal components 400 and external components 500 illustrated in FIG. 4. The set of internal components 400 includes one or more processors 420, one or more computer-readable random access memories (RAMs) 422 and one or more computer-readable read-only memories (ROMs) 424 on one or more buses 426, one or more operating systems 428 and one or more computer-readable storage devices 430. The operating system(s) 428 and program instructions 104 and 106 (for computer 102 in FIG. 1) are stored on one or more of the respective computer-readable storage devices 430 for execution by one or more of the respective processors 420 via one or more of the respective RAMs 422 (which typically include cache memory). In the illustrated embodiment, each of the computer-readable storage devices 430 is a magnetic disk storage device of an internal hard drive. Alternatively, each of the computer-readable storage devices 430 is a semiconductor storage device such as ROM 424, erasable programmable read-only memory (EPROM), flash memory or any other computer-readable storage device that can store but does not transmit a computer program and digital information.

The set of internal components 400 also includes a read/write (R/W) drive or interface 432 to read from and write to one or more portable tangible computer-readable storage devices 536 that can store but do not transmit a computer program, such as a CD-ROM, DVD, memory stick, magnetic tape, magnetic disk, optical disk or semiconductor storage device. The program instructions 104 and 106 (for computer 102 in FIG. 1) can be stored on one or more of the respective portable tangible computer-readable storage devices 536, read via the respective R/W drive or interface 432 and loaded into the respective hard drive or semiconductor storage device 430. The terms “computer-readable storage device” and “computer-readable storage devices” do not mean signal propagation media such as copper cables, optical fibers and wireless transmission media.

The set of internal components 400 also includes a network adapter or interface 436 such as a transmission control protocol/Internet protocol (TCP/IP) adapter card or wireless communication adapter (such as a 4G wireless communication adapter using orthogonal frequency-division multiple access (OFDMA) technology). The programs 104 and 106 (for computer 102 in FIG. 1) can be downloaded to computer 102 (see FIG. 1) from an external computer or external computer-readable storage device via a network (for example, the Internet, a local area network or other, wide area network or wireless network) and network adapter or interface 436. From the network adapter or interface 436, the program 104 (see FIG. 1) and program 106 (see FIG. 1) are loaded into the respective hard drive or semiconductor storage device 430. The network may comprise copper wires, optical fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.

The set of external components 500 includes a display screen 520, a keyboard or keypad 530, and a computer mouse or touchpad 534. The set of internal components 400 also includes device drivers 440 to interface to display screen 520 for imaging, to keyboard or keypad 530, to computer mouse or touchpad 534, and/or to the display screen for pressure sensing of alphanumeric character entry and user selections. The device drivers 440, R/W drive or interface 432 and network adapter or interface 436 comprise hardware and software (stored in storage device 430 and/or ROM 424.

The program 104 (see FIG. 1) and program 106 (see FIG. 1) can be written in various programming languages (such as C++) including low-level, high-level, object-oriented or non-object-oriented languages. Alternatively, the functions of program 112 (see FIG. 1) can be implemented in whole or in part by computer circuits and other hardware (not shown).

Based on the foregoing, a computer system, method and program product have been disclosed for managing a message being transferred from a computer. However, numerous modifications and substitutions can be made without deviating from the scope of the present invention. Therefore, the present invention has been disclosed by way of example and not limitation. 

What is claimed is:
 1. A method of managing a message being transferred from a computer, the method comprising the steps of: the computer determining a level of sensitivity of data in a payload of the message and identifying an application initiating a transfer of the data in the message via a network; the computer determining a level of security protecting the transfer of the data, the level of security indicated by (1) a first setting of the computer that specifies that a first or a second method of encryption at a network layer is applied by a corresponding wireless access point that provides access to the network for the transfer of the data, the first method of encryption having a strength of encryption that is stronger than a strength of encryption of the second method of encryption and (2) a second setting of the application that specifies that a first or a second protocol at an application layer is utilized for the transfer of the data, the first protocol having encryption at the application layer and the second protocol having no encryption at the application layer; based in part on the level of sensitivity of the data, the computer determining whether the level of security satisfies a threshold level; if the level of security does not satisfy the threshold level, based at least in part on the level of sensitivity of the data and the level of security, the computer determining an action to change the level of security so that the changed level of security satisfies the threshold level, the action to change the level of security including a change to the first setting but no change to the second setting, a change to the second setting but no change to the first setting, or changes to the first and second settings, and in response, executing the action to connect the computer and transfer the message using the changed level of security indicated by the change in the first setting, the change in the second setting, or the changes in the first and second settings; and if the level of security satisfies the threshold level, the computer connecting and transferring the message using the level of security.
 2. The method of claim 1, further comprising the steps of: the computer receiving a rule that specifies one or more criteria associated with the threshold level and with the action, the criteria including the level of sensitivity of the data; and based on the rule, the computer determining the level of security does not satisfy the threshold level, wherein the step of determining the action is based on the rule.
 3. The method of claim 2, wherein the step of determining the action is based at least in part on the rule specifying (1) an address of a source of the data; (2) an address of a destination of the data; (3) the application initiating the transfer of the data via the network; (4) content of the data; (5) the first or second method of encryption that is applied by the corresponding wireless access point that provides access to the network for the transfer of the data or a condition in which no method of encryption is applied by the network; and (6) the first protocol having the encryption at the application layer and is utilized for the transfer of the data.
 4. The method of claim 3, further comprising the steps of: the computer scanning the content of the data after the transfer of the data is initiated but before the data has passed through the network; and based on the scanned content, the computer identifying a type of the data, wherein the step of determining the level of sensitivity of the data includes determining the level of sensitivity based on the identified type of the data, and wherein the step of determining the action is based on a rule that associates the action with the identified type of the data.
 5. The method of claim 2, wherein the step of determining the action includes the steps of: determining that (1) the first protocol having the encryption at the application layer is not available or (2) the first method of encryption at the network layer is not available and the first method of encryption satisfies the threshold level; and in response to the step of determining that the first protocol or the first method of encryption is not available, pausing traffic for the application until the first protocol or the first method of encryption becomes available, or shutting down the application and subsequently starting the application in response to the first protocol or the first method of encryption becoming available.
 6. The method of claim 2, wherein the rule is manually defined by a user of the computer prior to the step of determining the action or imported within a rule set generated by a person or organization other than the user prior to the step of determining the action.
 7. The method of claim 1, wherein the step of determining the action to change the level of security is based in part on the application that initiated the transfer of the data.
 8. The method of claim 1, wherein the step of determining whether the level of security satisfies a threshold level includes determining the level of security does not satisfy the threshold level, and in response, the computer notifying a user of the computer of the action.
 9. The method of claim 1, wherein the step of determining whether the level of security satisfies a threshold level includes determining the level of security does not satisfy the threshold level, and in response, the computer prompting the user to send an acceptance of the action, and in response to a receipt of the acceptance, the computer performing the step of executing the action.
 10. A computer program product for managing a message being transferred from a computer, the computer program product comprising: one or more computer-readable storage devices and program instructions stored on the one or more storage devices, the program instructions comprising: program instructions to determine a level of sensitivity of data in a payload of the message and identify an application initiating a transfer of the data in the message via a network; program instructions to determine a level of security protecting the transfer of the data, the level of security indicated by (1) a first setting of the computer that specifies that a first or a second method of encryption at a network layer is applied by a corresponding wireless access point that provides access to the network for the transfer of the data, the first method of encryption having a strength of encryption that is stronger than a strength of encryption of the second method of encryption and (2) a second setting of the application that specifies that a first or a second protocol at an application layer is utilized for the transfer of the data, the first protocol having encryption at the application layer and the second protocol having no encryption at the application layer; program instructions to, based in part on the level of sensitivity of the data, determine whether the level of security satisfies a threshold level; program instructions to, if the level of security does not satisfy the threshold level and based at least in part on the level of sensitivity of the data and the level of security, determine an action to change the level of security so that the changed level of security satisfies the threshold level, the action to change the level of security including a change to the first setting but no change to the second setting, a change to the second setting but no change to the first setting, or changes to the first and second settings, and in response, execute the action to connect the computer and transfer the message using the changed level of security indicated by the change in the first setting, the change in the second setting, or the changes in the first and second settings; and program instructions to, if the level of security satisfies the threshold level, connect the computer and transfer the message using the level of security.
 11. The computer program product of claim 10, further comprising: program instructions, stored on the one or more storage devices, to receive a rule that specifies one or more criteria associated with the threshold level and with the action, the criteria including the level of sensitivity of the data; and program instructions, stored on the one or more storage devices, to determine, based on the rule, the level of security does not satisfy the threshold level, wherein the program instructions to determine the action select an action based on the rule.
 12. The computer program product of claim 11, wherein the program instructions to determine the action are based at least in part on the rule specifying (1) an address of a source of the data; (2) an address of a destination of the data; (3) the application initiating the transfer of the data via the network; (4) content of the data; (5) the first or second method of encryption that is applied by the corresponding wireless access point that provides access to the network for the transfer of the data or a condition in which no method of encryption is applied by the network; and (6) the first protocol having the encryption at the application layer and is utilized for the transfer of the data.
 13. The computer program product of claim 12, further comprising: program instructions, stored on the one or more storage devices, to scan the content of the data after the transfer of the data is initiated but before the data has passed through the network; and program instructions, stored on the one or more storage devices, to identify, based on the scanned content, a type of the data, wherein the program instructions to determine the level of sensitivity of the data determine the level of sensitivity based on the identified type of the data, and wherein the program instructions to determine the action to connect the computer and transfer the message determine the action based on a rule that associates the action with the identified type of the data.
 14. The computer program product of claim 11, wherein the program instructions to determine the action include: program instructions to determine that (1) the first protocol having the encryption at the application layer is not available or (2) the first method of encryption at the network layer is not available and the first method of encryption satisfies the threshold level; and program instructions to, in response to determining that the first protocol or the first method of encryption is not available, pause traffic for the application until the first protocol or the first method of encryption becomes available, or shut down the application and subsequently start the application in response to the first protocol or the first method of encryption becoming available.
 15. The computer program product of claim 11, further comprising program instructions to receive the rule, wherein the rule is manually defined by a user of the computer prior a determination of the action by the program instructions to determine the action or imported within a rule set generated by a person or organization other than the user prior to the determination of the action by the program instructions to determine the action.
 16. The computer program product of claim 10, wherein the program instructions to determine the action to change the level of security determine the action based in part on the application that initiated the transfer of the data.
 17. The computer program product of claim 10, wherein the program instructions to determine whether the level of security satisfies the threshold level determining the level of security does not satisfy the threshold level, and in response, notify a user of the computer of the action.
 18. The computer program product of claim 10, wherein the program instructions to determine whether the level of security satisfies the threshold level determine the level of security does not satisfy the threshold level, and in response, prompt the user to send an acceptance of the action, and in response to a receipt of the acceptance, execute the program instructions to execute the action. 